import Home from "../page/Home"
import Login from "../page/Login"
import List from "../page/Home/List"

const routers=[{
    path:'/home',
    element:<Home/>,
    children:[{
        path:"/home/list",
        element:<List/>
    }]
},{
    path:'/login',
    element:<Login/>
},{
    from:'/',
    to:'/login'
},{
    from:"/home",
    to:'/home/list'
}]

export default routers